public class HeapAndStack2 {

    public static void main(String[] args) {
        int a=18;
        func1(a);
        System.out.println(a);
    }

    private static void func1(int a) {
        int b=20;
        a=a+b;
        System.out.println(a);
    }
}
